//
//  BYRegisterViewController.m
//  School+
//
//  Created by Sean Sebastian on 4/25/16.
//  Copyright © 2016 Sean Sebastian. All rights reserved.
//

#import "BYRegisterViewController.h"

#import "BYRegisterView.h"
#import "SVProgressHUD.h"


@interface BYRegisterViewController () <RegiterViewDelegate>

@end

@implementation BYRegisterViewController

- (void)loadView
{
    BYRegisterView *view = [[BYRegisterView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
    view.delegate = self;
    
    self.view = view;
}

- (void)viewDidLoad {
    [super viewDidLoad];  
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:@selector(backClick)];
    self.view.backgroundColor = [UIColor whiteColor];
    
}

- (void)backClick
{
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (void)btnClick
{
    
    
    
        [self dismissViewControllerAnimated:YES completion:nil];
    
    
    
    
}

@end
